<?
	if (!empty($_REQUEST['site_news_id'])) {
  	if (authorized('site_news', 'delete', true)) {
			db_query("DELETE FROM site_news WHERE id = {$_REQUEST['site_news_id']}");
		} else warning('You do not have permission to delete site news');
	}
	
	location('/site_news/admin/index');